merge operation in 1d array

visit shbcf.ru